package com.ht.modules.ai.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.ht.aspect.annotation.Dict;

/**
 *  账号信息
 */
@Data
@TableName("ai_account")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ai_account对象", description="账号信息")
public class Account {
    
    /**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
	private java.lang.Integer id;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
    /**创建日期*/
    @Excel(name = "创建日期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
    /**更新日期*/
    @Excel(name = "更新日期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
    /**所属部门*/
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
    /**删除标记*/
    @Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private java.lang.String delFlag;
    /**企业ID*/
    @Excel(name = "企业ID", width = 15,dicCode = "id",dictTable = "ai_company",dicText = "name")
    @ApiModelProperty(value = "企业ID")
    @Dict(dicCode = "id",dictTable = "ai_company",dicText = "name")
	private java.lang.Integer companyId;
    /**应用ID*/
    @Excel(name = "应用ID", width = 15,dicCode = "id",dictTable = "ai_app_info",dicText = "app_name")
    @ApiModelProperty(value = "应用ID")
    @Dict(dicCode = "id",dictTable = "ai_app_info",dicText = "app_name")
	private java.lang.Integer appId;
    /**账号*/
    @Excel(name = "账号", width = 15)
    @ApiModelProperty(value = "账号")
	private java.lang.String account;
    /**密码*/
    @Excel(name = "密码", width = 15)
    @ApiModelProperty(value = "密码")
	private java.lang.String password;
    /**昵称*/
    @Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
	private java.lang.String nickname;
    /**盐*/
    @Excel(name = "盐", width = 15)
    @ApiModelProperty(value = "盐")
	private java.lang.String salt;
    /**头像*/
    @Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
	private java.lang.String avatar;
    /**手机号*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
	private java.lang.String phone;
    /**状态*/
    @Excel(name = "状态", width = 15,dicCode = "user_status")
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "user_status")
	private java.lang.String status;
    /**手机Cid*/
    @Excel(name = "手机Cid", width = 15)
    @ApiModelProperty(value = "手机Cid")
	private java.lang.String cid;

	// ---------- 导入字段 ----------

}
